package org.csu.laboratoryequipment.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@TableName("user")
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 2159986388155310067L;

    /**
     * 操作人员学号
     */
    @TableId(value = "UserID")
    private String UserID;

    /**
     * 操作人员姓名
     */
    @TableField(value = "Name")
    private String Name;

    /**
     * 操作人员的学院（部门）
     */
    @TableField(value = "Department")
    private String Department;

    /**
     * 操作人员的年龄
     */
    @TableField(value = "Age")
    private int Age;

}
